#include <EEPROM.h>

#define LED 13

void setup()
{

  // for debug
  Serial.begin(9600); // Open serial connection to report values to host
  pinMode(LED, OUTPUT);

  for ( int i = 0 ; i < 5 ; i++) {
    byte b = EEPROM.read(i);
    Serial.print("EEPROM(");
    Serial.print(i,DEC);
    Serial.print(") data :");
    Serial.println(b,DEC);

    EEPROM.write(i,0);
    Serial.println("cleared.");
  }

}
void loop (){
  digitalWrite(13,HIGH);
  delay(500);
  digitalWrite(13,LOW);
  delay(500);
}

